package flst.ipiweb.persistance.interfaces;

import java.util.List;

import flst.ipiweb.transverse.IPIWebException;
import flst.ipiweb.transverse.Relais;

public interface IRelaisDAL {

	public List<Relais> getAllRelais() throws IPIWebException;
	public Relais getRelaisById(int id) throws IPIWebException;
	public void CreateRelais(Relais rel) throws IPIWebException;
	public void UpdateRelais(Relais rel) throws IPIWebException;
	public int GenerateId() throws IPIWebException;
	public void DesactiverRelais(int id) throws IPIWebException;
}
